package org.jeecg.modules.demo.weixin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: smt_douyin_tuangou
 * @Author: jeecg-boot
 * @Date:   2023-11-03
 * @Version: V1.0
 */
@Data
@TableName("smt_douyin_tuangou")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_douyin_tuangou对象", description="smt_douyin_tuangou")
public class SmtDouyinTuangou implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;
	/**抖音商品id*/
	@Excel(name = "抖音商品id", width = 15)
    @ApiModelProperty(value = "抖音商品id")
    private Long peoductId;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String productName;
	/**抖音划线价格*/
	@Excel(name = "抖音划线价格", width = 15)
    @ApiModelProperty(value = "抖音划线价格")
    private BigDecimal scribePrice;
	/**售卖价格*/
	@Excel(name = "售卖价格", width = 15)
    @ApiModelProperty(value = "售卖价格")
    private BigDecimal price;
	/**人数*/
	@Excel(name = "人数", width = 15)
    @ApiModelProperty(value = "人数")
    private Integer count;
	/**状态（0-未上架 1-上架）*/
	@Excel(name = "状态（0-未上架 1-上架）", width = 15)
    @ApiModelProperty(value = "状态（0-未上架 1-上架）")
    private Integer status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**是否删除（0 未删除 1 删除）*/
	@Excel(name = "是否删除（0 未删除 1 删除）", width = 15)
    @ApiModelProperty(value = "是否删除（0 未删除 1 删除）")
    @TableLogic
    private Integer isDel;
}
